<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 2018/11/5
 * Time: 16:50
 */

namespace common\models\credit_old_app;


/**
 * Class SlMakePledge
 * @package common\models\credit_old_app
 *
 * @property SlOrder $slOrder
 */
class SlMakePledge extends \common\models\credit_old_app_tables\SlMakePledge
{
    /**
     * @return \yii\db\ActiveQuery
     */
    public function getSlOrder()
    {
        return $this->hasOne(SlOrder::class, ['o_number' => 'mp_number']);
    }
}